#define _CRT_SECURE_NO_WARNINGS
#define LEETCODE_DS_OPEN
#include "ds.hpp"

int main()
{
   ListNode* l = CreateLinkedList(vector<int>{1, 2, 3, 4, 5});
   PrintLinkedList(l);
   FreeLinkedList(l);

   TreeNode* root = CreateBiTree(vector<int>{1, 2, 3, 4, NULL_NODE, 5, 6});
   PrintBiTree(root);
   FreeBiTree(root);

   return 0;
}